An Extension of the ASC Language Compiler to Support Multiple Instruction Streams in the MASC Model using the Manager-Worker Paradigm
نویسندگان
چکیده
In this paper, we describe and implement compiler extension for a parallel computer language called Associative Computing (ASC) language to support multiple instruction streams in a Multiple Associative Computing (MASC) model using manager-worker paradigm. A user directed MASC directive is used to enable concurrent executions of the THEN part and the ELSE part in a parallel IFTHEN-ELSE statement by using two different workerinstruction streams. For most applications, this technique should substantially improves the performance of the system over its performance using only one instruction stream; moreover it is more effective than using multiple instruction streams to execute every parallel IF-THEN-ELSE statements found in a program. When the overhead outweighs the benefit gained from using multiple instruction streams, a user can choose to use only one instruction stream to execute the IF-THEN-ELSE statement. While not explicitly covered here, parallel CASE statements can be handled similarly.
منابع مشابه
A Software Implementation of a Cycle Precision Simulator of a Multiple Associative Model
The Multiple Associative Computing (MASC) parallel model is a generalization model of an Associative Computing (ASC) parallel model designed to support multiple ASC data parallel threads by using control parallelism. The MASC model is designed to combine the advantages of both Single Instruction Stream Multiple Data Streams (SIMD) and Multiple Instruction Streams Multiple Data Streams (MIMD) mo...
متن کاملTwo Graph Algorithms On an Associative Computing Model
The MASC (for Multiple Associative Computing) model is a SIMD model enhanced with associative properties and multiple synchronous instruction streams (IS). A number of algorithms have been developed for this model and some have been implemented using its associative programming language. In this paper, we present two graph algorithms for the restricted MASC model with one IS (called the ASC mod...
متن کاملThe Effects of Planned Instruction on Iranian L2 Learners' Interlanguage Pragmatic Development
L2 research has shown that instruction in L2 pragmatics is necessary. The current study evaluated the impact of explicit instruction on EFL learner's awareness and production of three speech acts of request, apology, and complaint. It also probed whether learners’ language proficiency plays any role in incorporating pragmatic instruction into the L2 classroom. Iranian undergraduate students maj...
متن کاملUnit Costing of Health Extension Worker Activities in Ethiopia: A Model for Managers at the District and Health Facility Level
Background Over the last decade, Ethiopia has made impressive national improvements in health outcomes, including reductions in maternal, neonatal, infant, and child mortality attributed in large part to their Health Extension Program (HEP). As this program continues to evolve and improve, understanding the unit cost of health extension worker (HEW) services is fundamental to planning for futur...
متن کاملA new evaluation model for selecting a qualified manager by using fuzzy Topsis approach
Considering the contemporary business settings, managers’ role is more than essential to the viability and further development of an organization. Managers should possess such skills in order to effectively cope with the competition. Multiple attributes decision making (MADM) is an approach employed to solve problems involving selection from among a finite number of alternatives. The aim of thi...
متن کامل